package com.core.cloundbusinessapi.sheet.process.enums;

/**
 * @author =====Lqj=====
 * @className CloudSheetProcessResultCode
 * @description
 * @create 2024/11/27 21:32
 **/

public enum CloudSheetProcessResultCode {

    CODE600001(600001, "执行流程参数为空，请检查"),
    CODE600002(600002, "执行流程工单编号为空请检查，请检查"),
    CODE600003(600003, "查询工单流程单号为空，请检查"),
    CODE600004(600004, "签收工单编号不能为空，请检查"),
    CODE600005(600005, "工单已签收无需重复签收，请检查"),
    CODE600006(600006, "工单流程已存在无需重复操作，请检查");

    private final Integer code;
    private final String msg;

    CloudSheetProcessResultCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    // 获取 code 值
    public Integer getCode() {
        return code;
    }

    // 获取 msg 值
    public String getMsg() {
        return msg;
    }
}
